#ifndef SINAUSER_H
#define SINAUSER_H

#include <string>

/*! \class SinaUser
 *  \brief 用户资料信息及一些getter和setter操作
 *
 */

class SinaUser
{
public:
    SinaUser();
    //setter
    void setId( const std::string &id );
    void setScreenName( const std::string &screenName );
    void setName( const std::string &name );
    void setDescription( const std::string &description );
    void setBlogUrl( const std::string &blogUrl );
    void setProfileImageUrl( const std::string &profileImageUrl );
    void setCreatedAt( const std::string &createdAt );
    void setGender( const char gender );
    void setFollowing( const bool following );
    void setVerfied( const bool verified );
    void setFollowersCount( const int followersCount );
    void setFriendsCount( const int friendsCount );
    void setStatusesCount( const int statusesCount );
    void setFavouritesCount( const int favouritesCount );
    //getter
    std::string getId() const;
    std::string getScreenName() const;
    std::string getName() const;
    std::string getDescription() const;
    std::string getBlogUrl() const;
    std::string getProfileImageUrl() const;
    std::string getCreatedAt() const;
    char getGender() const;
    bool isFollowing() const;
    bool isVerified() const;
    int getFollowersCount() const;
    int getFriendsCount() const;
    int getStatusesCount() const;
    int getFavouritesCount() const;


private:
    std::string id;
    std::string screenName;
    std::string name;
    std::string description;
    std::string blogUrl;
    std::string profileImageUrl;
    std::string createdAt;
    char gender;
    bool following;
    bool verified;
    int followersCount;
    int friendsCount;
    int statusesCount;
    int favouritesCount;
};

#endif // SINAUSER_H
